package com.gilight.base.base;

import com.gilight.base.model.SysRole;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author xuhs
 * @description 登录用户信息
 * @date 2019/10/29
 */
public class LoginUserInfo implements Serializable {
    /**
     *  登录用户ID
     */
    private Long id;
    /**
     *  登录用户帐号
     */
    private String userCode;
    /**
     *  登录用户姓名
     */
    private String userName;
    /**
     *  登录用户信息校验值
     */
    private String salt;
    /*
     *  用户登录默认角色id
     */
    private Long roleId;
    /**
     *  登录用户密码
     */
    private String password;
    /**
     *  登录用户状态
     */
    private Integer status;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    private String token;

    /**
     *  登录用户角色信息
     */
    private List<SysRole> roles;
    /**
     *  登录用户角色信息
     */
    private List<Map<String,Object>> buttons;

    public String getZzjgId() {
        return zzjgId;
    }

    public void setZzjgId(String zzjgId) {
        this.zzjgId = zzjgId;
    }

    public String getZzjgName() {
        return zzjgName;
    }

    public void setZzjgName(String zzjgName) {
        this.zzjgName = zzjgName;
    }

    private String zzjgId;

    private String zzjgName;

    public List<Map<String, Object>> getButtons() {
        return buttons;
    }

    public void setButtons(List<Map<String, Object>> buttons) {
        this.buttons = buttons;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public List<SysRole> getRoles() {
        return roles;
    }

    public void setRoles(List<SysRole> roles) {
        this.roles = roles;
    }
}
